//app.js
App({
	onLaunch: function () {
		//调用API从本地缓存中获取数据
	},
	onShow: function () {
		console.log(getCurrentPages())
	},
	onHide: function () {
		console.log(getCurrentPages())
	},
	onError: function (msg) {
		console.log(msg)
	},
	util: require('we7/resource/js/util.js'),
	tabBar: {
		"color": "#123",
		"selectedColor": "#1ba9ba",
		"borderStyle": "#1ba9ba",
		"backgroundColor": "#fff",
		"list": [
			{
				"pagePath": "/we7_wxappdemo/pages/index/index",
				"iconPath": "/we7/resource/icon/home.png",
				"selectedIconPath": "/we7/resource/icon/homeselect.png",
				"text": "首页"
			},
			{
				"pagePath": "/we7_wxappdemo/pages/footer/footer",
				"iconPath": "/we7/resource/icon/user.png",
				"selectedIconPath": "/we7/resource/icon/userselect.png",
				"text": "底部"
			},
			{
				"pagePath": "/we7_wxappdemo/pages/todo/todo",
				"iconPath": "/we7/resource/icon/todo.png",
				"selectedIconPath": "/we7/resource/icon/todoselect.png",
				"text": "ToDo"
			},
			{
				"pagePath": "/we7_wxappdemo/pages/pay/pay",
				"iconPath": "/we7/resource/icon/pay.png",
				"selectedIconPath": "/we7/resource/icon/payselect.png",
				"text": "支付"
			}
		]
	},
	globalData: {
		userInfo: null,
	},
	siteInfo: { "uniacid": "88", "acid": "191", "multiid": "0", "version": "v1.23", "siteroot": "http://wx2.we7.cc/app/index.php", "design_method": "3" }
});